﻿using System.Web.Optimization;

namespace Maxleaf.EDI.Admin.App_Start
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
            "~/Scripts/libs/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/libs/jquery.unobtrusive*",
                        "~/Scripts/libs/jquery.tablesorter.js",
                        "~/Scripts/libs/jquery-ui-1.8.20.js",
                        "~/Scripts/MenuSelection.js",
                        "~/Scripts/libs/jquery.validate*",
                        "~/Scripts/libs/jquery.json*"));

            bundles.Add(new ScriptBundle("~/bundles/headerScripts").Include(
                "~/Scripts/html5.js",
            "~/Scripts/artDialog.source.js"));

            bundles.Add(new StyleBundle("~/bundles/css").Include(
                "~/Content/themes/base/jquery-ui.css",
                "~/Content/css/skins/default.css",
                "~/Content/bootstrap/scss/bootstrap.css",
                "~/Content/bootstrap/scss/bootstrap-externsion.css",
                "~/Content/css/Modules/Footer.css",
                "~/Content/css/Modules/Register.css",
                "~/Content/css/Modules/Validation.css",
                "~/Content/css/Modules/Login.css",
                "~/Content/css/Modules/Header.css",
                "~/Content/layout/layout.css",
            "~/Content/brand/layout.css",
                "~/Content/css/Main.css"));

            bundles.Add(new StyleBundle("~/login/css").Include(
            "~/Content/reset.css",

            "~/Content/layout/layout.css",
            "~/Content/brand/layout.css",
            "~/Content/layout/main.css",
            "~/Content/brand/main.css"));
        }
    }
}